import Vue from "vue";
import App from "./App.vue";

import router from "./router";
import store from "./store";
// import router from "./Krouter";
// import store from "./kvuex";

import Knotice from './components/Knotice/Knotice.vue'
import create from "./utils/create";

import '@/icon'

Vue.config.productionTip = false;

Vue.prototype.$notice = function (opts) {
  const comp = create(Knotice, opts)
  comp.show()
  return comp
}

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
